/**
 * 定义rb中面板lf
 * name属性没有指定
 */
Ext.define('Risk.view.rb.Lf', {
    extend: 'Ext.form.FieldSet',
    alias: 'widget.lffieldSet',
    title: '物理损害导致损失率【Lf】',
    layout: 'vbox',
    autoShow: true,
    initComponent: function() {
      //初始化Window中的内容
    	
    	this.items = [
           {
	           xtype:'checkbox',
	           boxLabel  : '确定物理损失率np、nt、tp',
	           itemId:'ck',
	           checked:true,
	           disabled:true,
	           //TODO 未确定关系
               name      : '',
               inputValue: '1'
	        },
	        {
	        	 xtype:'combo',
	        	 itemId:'lfcombo',
	        	 forceSelection :true,
	        	 fieldLabel: 'Lf典型值',
	        	 labelWidth:60,
	        	 disabled:true,
	        	 store: 'rb.LfStore',
	        	 name:'lf',
	        	 queryMode: 'local',
	        	 displayField: 'name',
	        	 valueField: 'value'
	        },
	        {
	        	readOnly : true,
	        	xtype:'textfield',
	        	style:'background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: #000000 1px solid;',
	        	fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
	        	itemId:'lf',
	        	labelWidth:60,
                name:'lf',
	        	fieldLabel:'【Lf】'
	        }
        ];
        this.callParent(arguments);
    }
});